package com.ibiaoke.order.entity.so;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by biaoke on 2017/6/29.
 */
@Data
public class SubmitOrderSO {

    private Integer goodsId;

    private Integer num;

    private String shoppingCartIds;

    private String openCode;

    private Integer isOpen;

    private Integer userId;

    private Integer couponReceiveId;

    private String remarke;

    @NotNull(message = "请选择收货地址")
    private Integer addressId;

    /**
     * 订单来源 APP、WECHAT
     */
    private String source;

    //付款类型 1:支付宝、2:微信、3:余额支付
    private Integer payType;

    //小程序付款类型 1:微信、4:余额支付
    private Integer paymentType;

    //付款金额
    private Integer payMoney;

    //配送类型(1自提，2快递)
    private String deliveryType;

    //开团id
    private Integer kid;

    //用户昵称
    private String userName;

    private String customerNickname;

    //用户头像
    private String userNameImg;

    //自提门店
    private Integer shopId;

    private String remark;

    //快递费
    private Integer expressPrice;
}
